package com.lhf.fvscommon.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p></p>
 *
 * @author lhf
 * @since 2020/10/29 9:22
 */
@Data
@ApiModel("表格返回实体")
public class SysPerTableVo {
    @ApiModelProperty(value = "权限id")
    private Integer perId;
    @ApiModelProperty(value = "权限")
    private String per;
    @ApiModelProperty(value = "菜单名字")
    private String menuName;
    @ApiModelProperty(value = "类型，0 菜单 1按钮")
    private Integer menuType;
    @ApiModelProperty(value = "菜单图标")
    private String menuIco;
    @ApiModelProperty(value = "排序")
    private Integer menuSort;
    @ApiModelProperty(value = "父类id")
    private Integer parentId;
    @ApiModelProperty(value = "子集")
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private List<SysPerTableVo> children;
}
